package org.example.domain;

import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;
import lombok.Data;

import java.time.LocalDateTime;

@Data
public class BaseDO {

    @TableId(type = IdType.ASSIGN_ID)
    private Long id;

    /**
     * 是否删除，0:未删除 1:已删除
     */
    private Integer deleted;

    private LocalDateTime createTime;

    private LocalDateTime updateTime;

}
